package com.agileai.bpm.domain.define;

import java.util.HashMap;
import java.util.Map;

public class ProcessVariable extends DefineObject{
	private String processId = null;
	private String varType = null;
	private String initialValue = null;
	
	public static class VarType{
		public static final String string = "string";
		public static final String number = "number";
//		public static final String date = "date";
		public static final String xmlobject = "xmlobject";
		public static final String soapobject = "soapobject";
		public static final String datasetobject = "datasetobject";
		public static final String mapobject = "mapobject";
	}
	public static Map<String,String> VarTypeMap = new HashMap<String,String>();
	static{
		VarTypeMap.put(VarType.string, "String");
		VarTypeMap.put(VarType.number, "Number");
		VarTypeMap.put(VarType.xmlobject, "XmlObject");
		VarTypeMap.put(VarType.soapobject, "SOAPObject");
		VarTypeMap.put(VarType.datasetobject, "DataSetObject");
		VarTypeMap.put(VarType.mapobject, "MapObject");
	}
	public String getVarType() {
		return varType;
	}

	public void setVarType(String dateType) {
		this.varType = dateType;
	}

	public String getInitialValue() {
		return initialValue;
	}

	public void setInitialValue(String initialValue) {
		this.initialValue = initialValue;
	}

	public String getProcessId() {
		return processId;
	}

	public void setProcessId(String processId) {
		this.processId = processId;
	}
}
